﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template.Master" AutoEventWireup="true" CodeBehind="DanhMuc.aspx.cs" Inherits="OnlineDigitalCameraWebsite.DanhMuc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="cnt-main btm">
        <div style="margin-left: 40px;">
            <asp:Label Font-Size="Large" ID="lblKetQuaCamera" runat="server" Text="Label" Visible="False"></asp:Label></div>
        <div class="section group">
            <asp:DataList ID="dtCamera" runat="server" RepeatColumns="5" Width="100%">
                <ItemTemplate>
                    <%--<div class="grid_1_of_3 images_1_of_3" style="width:209px; height:260px">
					 <a href='<%# "ChiTiet.aspx?cate=camera&id=" + Eval("camId") %>'><img src='<%#Eval("camImages") %>' alt="" height="100" width="100"/></a>
					 <a href='<%# "ChiTiet.aspx?cate=camera&id=" + Eval("camId") %>'><h3><%#Eval("camNames") %></h3></a>
					 <div class="cart-b">
					<span class="price left"><sup><%# string.Format(System.Globalization.CultureInfo.CreateSpecificCulture("vi-VN"), "{0:#,## VNĐ}", (Eval("camPrice"))) %> </sup><sub></sub></span>
				    <div class="btn top-right right"><a href="GioHang.aspx">Add to Cart</a></div>
				    <div class="clear"></div>
				 </div>
				</div>--%>
                    <div class="grid_1_of_3 images_1_of_3" style="width: 209px; height: 260px">
                        <a href='<%# "ChiTiet.aspx?cate=camera&id=" + Eval("camId") %>'>
                            <asp:Label ID="lblID" runat="server" Visible="false" Text='<%#Eval("camId") %>'></asp:Label>
                            <%--<img src='<%#Eval("camImages") %>' alt="" height="100" width="100" />--%>
                            <asp:Image runat="server" ID="imghinh" ImageUrl='<%#Eval("camImages") %>' Height="100px" Width="100px"></asp:Image>
                        </a>
                        <a href='<%# "ChiTiet.aspx?ID=" + Eval("camId") %>'>
                            <h3><%#Eval("camNames") %></h3>
                        </a>
                        <div class="cart-b">
                            <span class="price left"><sup><%#string.Format(System.Globalization.CultureInfo.CreateSpecificCulture("vi-VN"), "{0:#,## VNĐ}", (Eval("camPrice")))%> </sup><sub></sub></span>
                            <div class="btn top-right right">
                                <asp:LinkButton ID="btnAddCart" BackColor="Transparent" Width="100%" Height="100%" runat="server" Text="Add to Cart" OnClick="btnAddCart_Click" />

                            </div>
                            <div class="clear"></div>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:DataList>

            <div style="margin-left: 40px;">
                <asp:Label Font-Size="Large" ID="lblKetQuaAcc" runat="server" Text="Label" Visible="False"></asp:Label></div>
            <asp:DataList ID="dtAcc" runat="server" RepeatColumns="5" Width="100%">
                <ItemTemplate>
                    <%--<div class="grid_1_of_3 images_1_of_3" style="width:209px; height:260px">
					 <a href='<%# "ChiTiet.aspx?cate=accessories&id=" + Eval("accesId") %>'><img src='<%#Eval("accesImages") %>' alt="" height="100" width="100"/></a>
					 <a href='<%# "ChiTiet.aspx?cate=accessories&id=" + Eval("accesId") %>'><h3><%#Eval("accesNames") %></h3></a>
					 <div class="cart-b">
					<span class="price left"><sup><%# string.Format(System.Globalization.CultureInfo.CreateSpecificCulture("vi-VN"), "{0:#,## VNĐ}", (Eval("accesPrice"))) %></sup><sub></sub></span>
				    <div class="btn top-right right"><a href="GioHang.aspx">Add to Cart</a></div>
				    <div class="clear"></div>
				 </div>
				</div>--%>
                    <div class="grid_1_of_3 images_1_of_3" style="width: 209px; height: 260px">
                        <a href='<%# "ChiTiet.aspx?cate=accessories&id=" + Eval("accesId") %>'>
                            <asp:Label ID="lblID" runat="server" Visible="false" Text='<%#Eval("accesId") %>'></asp:Label>
                            <%--<img src='<%#Eval("camImages") %>' alt="" height="100" width="100" />--%>
                            <asp:Image runat="server" ID="imghinh" ImageUrl='<%#Eval("accesImages") %>' Height="100px" Width="100px"></asp:Image>
                        </a>
                        <a href='<%# "ChiTiet.aspx?ID=" + Eval("accesId") %>'>
                            <h3><%#Eval("accesNames") %></h3>
                        </a>
                        <div class="cart-b">
                            <span class="price left"><sup><%#string.Format(System.Globalization.CultureInfo.CreateSpecificCulture("vi-VN"), "{0:#,## VNĐ}", (Eval("accesPrice")))%> </sup><sub></sub></span>
                            <div class="btn top-right right">
                                <asp:LinkButton ID="btnAddCartAcc" BackColor="Transparent" Width="100%" Height="100%" runat="server" Text="Add to Cart" OnClick="btnAddCartAcc_Click" />

                            </div>
                            <div class="clear"></div>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:DataList>

            <div style="margin-left: 40px;">
                <asp:Label Font-Size="Large" ID="lblKetQuaLens" runat="server" Text="Label" Visible="False"></asp:Label></div>
            <asp:DataList ID="dtLens" runat="server" RepeatColumns="5" Width="100%">
                <ItemTemplate>
                    <%--<div class="grid_1_of_3 images_1_of_3" style="width:209px; height:260px">
					 <a href='<%# "ChiTiet.aspx?cate=lens&id=" + Eval("lensId") %>'><img src='<%#Eval("lensImages") %>' alt="" height="100" width="100"/></a>
					 <a href='<%# "ChiTiet.aspx?cate=lens&id=" + Eval("lensId") %>'><h3><%#Eval("lensNames") %></h3></a>
					 <div class="cart-b">
					<span class="price left"><sup><%# string.Format(System.Globalization.CultureInfo.CreateSpecificCulture("vi-VN"), "{0:#,## VNĐ}", (Eval("lensPrice")))%> </sup><sub></sub></span>
				    <div class="btn top-right right"><a href="GioHang.aspx">Add to Cart</a></div>
				    <div class="clear"></div>
				 </div>
				</div>--%>
                    <div class="grid_1_of_3 images_1_of_3" style="width: 209px; height: 260px">
                        <a href='<%# "ChiTiet.aspx?cate=lens&id=" + Eval("lensId") %>'>
                            <asp:Label ID="lblID" runat="server" Visible="false" Text='<%#Eval("lensId") %>'></asp:Label>
                            <%--<img src='<%#Eval("camImages") %>' alt="" height="100" width="100" />--%>
                            <asp:Image runat="server" ID="imghinh" ImageUrl='<%#Eval("lensImages") %>' Height="100px" Width="100px"></asp:Image>
                        </a>
                        <a href='<%# "ChiTiet.aspx?ID=" + Eval("lensId") %>'>
                            <h3><%#Eval("lensNames") %></h3>
                        </a>
                        <div class="cart-b">
                            <span class="price left"><sup><%#string.Format(System.Globalization.CultureInfo.CreateSpecificCulture("vi-VN"), "{0:#,## VNĐ}", (Eval("lensPrice")))%> </sup><sub></sub></span>
                            <div class="btn top-right right">
                                <asp:LinkButton ID="btnAddCartLens" BackColor="Transparent" Width="100%" Height="100%" runat="server" Text="Add to Cart" OnClick="btnAddCartLens_Click" />

                            </div>
                            <div class="clear"></div>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:DataList>


        </div>
    </div>
</asp:Content>
